package leetcode.code0918;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution918 implements IDebug {

	public abstract int maxSubarraySumCircular(int[] nums);

	@Override
	public void debug1() {
		HelpDebug.compare(3, this.maxSubarraySumCircular(HelpDebug.str2array3("[1,-2,3,-2]")));
	}

	@Override
	public void debug2() {
		HelpDebug.compare(10, this.maxSubarraySumCircular(HelpDebug.str2array3("[5,-3,5]")));
	}

	@Override
	public void debug3() {
		HelpDebug.compare(4, this.maxSubarraySumCircular(HelpDebug.str2array3("[3,-1,2,-1]")));

	}

	@Override
	public void debug4() {
		HelpDebug.compare(3, this.maxSubarraySumCircular(HelpDebug.str2array3("[3,-2,2,-3]")));

	}

	public void debug5() {
		HelpDebug.compare(-1, this.maxSubarraySumCircular(HelpDebug.str2array3("[-2,-3,-1]")));

	}

}
